package com.lei.factory;

import java.util.concurrent.TimeUnit;

/**
 * @author: leiGer
 * @Date: 2022/01/15
 * @Time: 16:53
 */
public interface ICacheAdapt {
    String get(String key);
    void set(String key,String val);
    void set(String key, String val, long timeout, TimeUnit timeUnit);
    void del(String key);
}
